﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Travel
{
    class eTravel:Service
    {
        protected List<Service> services;

        public eTravel()
        {
            services=new List<Service>();
        }

        public List<Service> Services
        {
            get
            {
                return services;
            }
        }

        public override void Book()
        {
            foreach (Service s in services)
            {
                s.Book();
            }
        }
    }
}
